package com.lbmb.mdps.workbench.dao;

import com.lbmb.mdps.commons.domain.WarehouseReceive;
import com.lbmb.mdps.workbench.domain.Warehouse;

import java.util.List;

/**
 * @author WJP
 * @date 2022-05-30 1:21
 * description
 */
public interface WarehouseDao {
    List<Warehouse> warehousePageList(WarehouseReceive warehouseReceive);

    Integer getWarehouseTotal(WarehouseReceive warehouseReceive);

    int addWarehouse(Warehouse warehouse);

    int editWarehouse(Warehouse warehouse);

    int deleteWarehouse(String[] deleteWarehouseIds);

    List<Warehouse> getAllWarehouse();

    Warehouse getWarehouseById(Long warehouseId);
}
